package com.wskj.client;


import com.wskj.base.Result;
import com.wskj.entity.Supplier;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * <p>
 * 供应商信息表 前端控制器
 * </p>
 *
 * @author 顽石教育-www.wskj.com
 * @since 2021-09-07
 */
@FeignClient(value = "supplier-server")
@RequestMapping("/feign/supplier")
public interface SupplierClient {

    @GetMapping("/user/{id}")
    Supplier findBySupplierId(@PathVariable Integer id);
}
